<template>
    <el-dialog center :visible.sync="obj.show" title="活动关联到经营范围"  class="custom-size__dialog">
        <div class="select" style="margin-bottom: 10px;">
            <el-select style="width: 300px;" v-model="obj.selectedIds" placeholder="请选择活动" clearable filterable multiple>
                <el-option v-for="item in obj.list" :value="item.id" :label="item.name" :key="item.id"></el-option>
            </el-select>
        </div>
        <div slot="footer">
            <el-button type="primary" @click="confirm">
                确定
            </el-button>
            <el-button>
                取消
            </el-button>
        </div>
    </el-dialog>
</template>

<script>
export default {
    props: {
        obj:{
            type:Object
        },
    },
    data() {
        return {
        }
    },
    methods: {
        confirm() {
            this.$emit("confirm")
        },
    },
}
</script>

<style lang="scss" scoped></style>